players = ['charles', 'martina', 'michael', 'florence']

# 切片：将原始列表截取一部分出来
#   通过列表名[截取区间]，区间用冒号隔开两个数,分别代表开始和结束
lst1 = players[1:3]
print(lst1)
# ['martina', 'michael']

# 区间的两个参数都不填的情况,相当于拷贝了一份出来
lst2 = players[:]
print(lst2)
# ['charles', 'martina', 'michael', 'florence']

# 只填后一个数的情况,不填和填0的效果一样
lst3 = players[:3]
print(lst3)
# 结果:['charles', 'martina', 'michael']

# 只填前一个数,后面相当于len(players)
lst4 = players[1:]
print(lst4)